home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / NetBSD / docs-netbsd / Mailinglist-Archive / 1994-10.gz / 1994-10 / 000789_owner-current-users@netbsd.org_Fri Oct 28 05:48:59 1994.msg < prev    next >
Text File  |  1994-11-20  |  2KB  |  49 lines

  1. Mime-Version: 1.0
  2. Content-Type: text/plain; charset="us-ascii"
  3. To: gillham@andrews.edu (Andrew Gillham),
  4.         jclark@synergy.encinitas.ca.us (John E. Clark)
  5. From: jclark@synergy.encinitas.ca.us (John E. Clark)
  6. Subject: Re: arptnew failed on 805f2b2b ???
  7. Cc: current-users@netbsd.org
  8. Sender: owner-current-users@netbsd.org
  9.  
  10. At  9:19 PM 10/26/94 -0400, Andrew Gillham wrote:
  11. >I get this message quite frequently also...  but.. I don't understand
  12. >the following code fragment at all..  (yeah, I'm an idiot.. :-) )
  13. >
  14. >> and found the file of interest.
  15. >>
  16. >> from 'netinet/if_ether.c'
  17. >>
  18. >> .....
  19. >>      if ((rt->rt_flags & RTF_GATEWAY) || (rt->rt_flags & RTF_LLINFO) == 0 ||
  20. >>          rt->rt_gateway->sa_family != AF_LINK) {
  21. >>              if (create)
  22. >>                      log(LOG_DEBUG, "arptnew failed on %x\n", ntohl(addr));
  23. >>              return (0);
  24. >>      }
  25. >> .....
  26. >Grok?  I don't have GATEWAY or LLC options in my kernel if that says
  27. >anything...
  28.  
  29. The RTF_GATEWAY will be set if one gets a ICMP redirect from somewhere.
  30.  
  31. The RTF_LLINFO is not related to LLC of 802.2, but has to do with routing table
  32. setup, and should be there for a config'ed interface, as should
  33. AF_LINK.
  34.  
  35. Unfortunately, I'm not able on my Mac II to get the 'latest' netbsd10 up for
  36. long enough time to even untar the kernel source to start instrumenting the
  37. kernel net stuff.
  38.  
  39. I compared the BSD 4.3 net code to what is in 4.4, and there are significant
  40. changes to the routing code. The 4.4 looks like it was intended to handle
  41. more than just INET. So, a lot of stuff got more complex, and split out.
  42.  
  43. So, I'll have to step through this again to understand what's going on.
  44.  
  45.  
  46. John Clark
  47. clark@synergy.encinitas.ca.us
  48.  
  49.